package com.itheima.health.service;

import com.itheima.health.exception.MyException;

import java.util.Map;

public interface OrderService {

    /**
     * 提交预约业务
     * @param paraMap
     * @return
     */
    Integer submit(Map<String, String> paraMap) throws MyException;

    /**
     * 通过id查询订单信息，预约成功提示
     * @param id
     * @return
     */
    Map<String, String> findOrderDetailById(int id);

}
